Raspbian automatic forward porter [Sun, 8 Feb 2026 14:26:07 +0000 (14:26 +0000)]
Merge version 1:2.4.1+dfsg1-6+rpi1 and 1:2.4.2+dfsg1-3 to produce 1:2.4.2+dfsg1-3+rpi1
Noah Meyerhans [Wed, 4 Feb 2026 16:09:21 +0000 (11:09 -0500)]
Merge dovecot (1:2.4.2+dfsg1-3) import into refs/heads/workingbranch
Aki Tuomi [Mon, 26 Jan 2026 07:47:16 +0000 (09:47 +0200)]
[PATCH] lib-regex: Do not use data stack for replacement string
It will get lost when the data stack frame is dropped at the end,
so use heap memory instead.
Gbp-Pq: Name lib-regex-Do-not-use-data-stack-for-replacement-stri.patch
Aki Tuomi [Mon, 22 Dec 2025 20:01:18 +0000 (22:01 +0200)]
[PATCH] lib-regex: Limit number of capture groups correctly
We create at maximum max_capture_groups match groups.
Gbp-Pq: Name lib-regex_Limit_number_of_capture_groups_correctly.patch
Aki Tuomi [Mon, 22 Dec 2025 09:05:31 +0000 (11:05 +0200)]
[PATCH] lib-regex: Set DREGEX_MAX_MATCHES to library default
Gbp-Pq: Name lib-regex_Set_DREGEX_MAX_MATCHES_to_library_default.patch
Aki Tuomi [Mon, 22 Dec 2025 09:04:16 +0000 (11:04 +0200)]
[PATCH] lib-regex: Separate maximum capture groups and match limit
These are not related.
Gbp-Pq: Name lib-regex_Separate_maximum_capture_groups_and_match_limit.patch
Noah Meyerhans [Wed, 4 Feb 2026 16:09:21 +0000 (11:09 -0500)]
[PATCH] Correctly handle signed 32-bit time_t types
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1124541
Forwarded: no
dovecot handles 32-bit time_t in a couple of different ways, but neither quite
works currently. Setting TIME_T_MAX_BITS to 31 isn't correctly handled in
places where time_t values are constructed, for example in
io_loop_get_wait_time().
Similarly, setting TIME_T_MAX_BITS = 32 and defining TIME_T_SIGNED is not
correctly handled by tm_is_too_large().
This change fixes tm_is_too_large() to set max_time to the correct maximum date
representable by a signed 32-bit time_t.
Closes: #1124541
Gbp-Pq: Name Correctly_handle_signed_32-bit_time_t_types.patch
Noah Meyerhans [Tue, 25 Nov 2025 21:38:42 +0000 (16:38 -0500)]
[PATCH] Work around test failure on big-endian architectures
Because the endianness of the target system results in data being
layed out differently in memory, the manually constructed test input
doesn't result in the expected failure modes, which is interpreted as
a test failure.
This is not a permanent fix. See
https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/message/FZBVU55TK5332SMZSSDNWIVJCWGUAJQS/
Gbp-Pq: Name work-around-test-failure-on-big-endian-architectures.patch
Timo Sirainen [Thu, 6 Nov 2025 12:52:37 +0000 (14:52 +0200)]
[PATCH] auth: ldap - Fix crash if users are iterated, but userdb_ldap_iterate_fields is not set
From
576a2f52bff4c13971d9e6d1172857a4f18ddd14 Mon Sep 17 00:00:00 2001
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1121000
Gbp-Pq: Name bug1121000_dovecot-ldap_Crash_if_iterate_filter_is_set_but_iterate_fields_is_not_set.patch
Dovecot Maintainers [Wed, 4 Feb 2026 16:09:21 +0000 (11:09 -0500)]
fix 32-bit compile failure
Origin: https://github.com/dovecot/pigeonhole/commit/
82e3d905d68723f6477619ebb0a642ffe7f126bc.patch
Origin: https://github.com/dovecot/pigeonhole/commit/
82e3d905d68723f6477619ebb0a642ffe7f126bc.patch
Gbp-Pq: Name fix-32-bit-compile-error.patch
Noah Meyerhans [Wed, 4 Feb 2026 16:09:21 +0000 (11:09 -0500)]
Fix groff errors in upstream manpages
Forwarded: no
Last-Update: 2025-05-02
Last-Update: 2025-05-02
Gbp-Pq: Name fix-man-errors.patch
Dovecot Maintainers [Wed, 4 Feb 2026 16:09:21 +0000 (11:09 -0500)]
fit-32-bit-test-integers
===================================================================
Gbp-Pq: Name fit-32-bit-test-integers.patch
Christian Göttsche [Thu, 22 Dec 2022 16:00:53 +0000 (17:00 +0100)]
Use _FORTIFY_SOURCE level 3
Forwarded: not-needed
Gbp-Pq: Name Use-_FORTIFY_SOURCE-level-3.patch
Noah Meyerhans [Fri, 22 May 2020 04:48:59 +0000 (21:48 -0700)]
Don't try to build doc/rfc subdir components
Forwarded: not-needed
Forwarded: not-needed
Gbp-Pq: Name skip-rfc-subdir.patch
Noah Meyerhans [Wed, 4 Feb 2026 16:09:21 +0000 (11:09 -0500)]
dovecot (1:2.4.2+dfsg1-3) unstable; urgency=medium
* [
986f666] Correctly handle signed 32-bit time_t types (Closes: #
1124541)
* [
e2498a3] import upstream fixes to regex handling with libpcre
(Closes: #
1121519)
* [
c613433] refresh debian/copyright
* [
79dcac4] refresh lintian overrides
* [
67a151e] d/control: drop Priority fields per policy 4.7.3
* [
7c03ad9] d/control: bump standards-version to 4.7.3
[dgit import unpatched dovecot 1:2.4.2+dfsg1-3]
Noah Meyerhans [Wed, 4 Feb 2026 16:09:21 +0000 (11:09 -0500)]
Import dovecot_2.4.2+dfsg1-3.debian.tar.xz
[dgit import tarball dovecot 1:2.4.2+dfsg1-3 dovecot_2.4.2+dfsg1-3.debian.tar.xz]
Noah Meyerhans [Wed, 26 Nov 2025 01:01:05 +0000 (20:01 -0500)]
Merge dovecot (1:2.4.2+dfsg1-2) import into refs/heads/workingbranch
Noah Meyerhans [Tue, 25 Nov 2025 21:38:42 +0000 (16:38 -0500)]
[PATCH] Work around test failure on big-endian architectures
Because the endianness of the target system results in data being
layed out differently in memory, the manually constructed test input
doesn't result in the expected failure modes, which is interpreted as
a test failure.
This is not a permanent fix. See
https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/message/FZBVU55TK5332SMZSSDNWIVJCWGUAJQS/
Gbp-Pq: Name work-around-test-failure-on-big-endian-architectures.patch
Timo Sirainen [Thu, 6 Nov 2025 12:52:37 +0000 (14:52 +0200)]
[PATCH] auth: ldap - Fix crash if users are iterated, but userdb_ldap_iterate_fields is not set
From
576a2f52bff4c13971d9e6d1172857a4f18ddd14 Mon Sep 17 00:00:00 2001
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1121000
Gbp-Pq: Name bug1121000_dovecot-ldap_Crash_if_iterate_filter_is_set_but_iterate_fields_is_not_set.patch
Dovecot Maintainers [Wed, 26 Nov 2025 01:01:05 +0000 (20:01 -0500)]
fix 32-bit compile failure
Origin: https://github.com/dovecot/pigeonhole/commit/
82e3d905d68723f6477619ebb0a642ffe7f126bc.patch
Origin: https://github.com/dovecot/pigeonhole/commit/
82e3d905d68723f6477619ebb0a642ffe7f126bc.patch
Gbp-Pq: Name fix-32-bit-compile-error.patch
Noah Meyerhans [Wed, 26 Nov 2025 01:01:05 +0000 (20:01 -0500)]
Fix groff errors in upstream manpages
Forwarded: no
Last-Update: 2025-05-02
Last-Update: 2025-05-02
Gbp-Pq: Name fix-man-errors.patch
Dovecot Maintainers [Wed, 26 Nov 2025 01:01:05 +0000 (20:01 -0500)]
fit-32-bit-test-integers
===================================================================
Gbp-Pq: Name fit-32-bit-test-integers.patch
Christian Göttsche [Thu, 22 Dec 2022 16:00:53 +0000 (17:00 +0100)]
Use _FORTIFY_SOURCE level 3
Forwarded: not-needed
Gbp-Pq: Name Use-_FORTIFY_SOURCE-level-3.patch
Noah Meyerhans [Fri, 22 May 2020 04:48:59 +0000 (21:48 -0700)]
Don't try to build doc/rfc subdir components
Forwarded: not-needed
Forwarded: not-needed
Gbp-Pq: Name skip-rfc-subdir.patch
Noah Meyerhans [Wed, 26 Nov 2025 01:01:05 +0000 (20:01 -0500)]
dovecot (1:2.4.2+dfsg1-2) unstable; urgency=medium
* [
e34626c] import upstream fix for possible crash in ldap userdb
(Closes: #
1121000)
* [
8d95d15] d/control: add libpcre2-dev to build-deps (Closes: #
1121193)
* [
7b23f06] Work around test failure on big-endian architectures
[dgit import unpatched dovecot 1:2.4.2+dfsg1-2]
Noah Meyerhans [Wed, 26 Nov 2025 01:01:05 +0000 (20:01 -0500)]
Import dovecot_2.4.2+dfsg1-2.debian.tar.xz
[dgit import tarball dovecot 1:2.4.2+dfsg1-2 dovecot_2.4.2+dfsg1-2.debian.tar.xz]
Noah Meyerhans [Thu, 13 Nov 2025 13:22:28 +0000 (08:22 -0500)]
Import dovecot_2.4.2+dfsg1.orig.tar.gz
[dgit import orig dovecot_2.4.2+dfsg1.orig.tar.gz]
Noah Meyerhans [Thu, 13 Nov 2025 13:22:28 +0000 (08:22 -0500)]
Import dovecot_2.4.2+dfsg1.orig-pigeonhole.tar.gz
[dgit import orig dovecot_2.4.2+dfsg1.orig-pigeonhole.tar.gz]
Raspbian automatic forward porter [Wed, 30 Jul 2025 10:39:42 +0000 (11:39 +0100)]
Merge version 1:2.4.1+dfsg1-5+rpi1 and 1:2.4.1+dfsg1-6 to produce 1:2.4.1+dfsg1-6+rpi1
Raspbian automatic forward porter [Thu, 19 Jun 2025 11:02:54 +0000 (12:02 +0100)]
Merge version 1:2.4.1+dfsg1-4+rpi1 and 1:2.4.1+dfsg1-5 to produce 1:2.4.1+dfsg1-5+rpi1
Noah Meyerhans [Wed, 18 Jun 2025 14:01:58 +0000 (10:01 -0400)]
Merge dovecot (1:2.4.1+dfsg1-6) import into refs/heads/workingbranch
Jakob Haufe [Sun, 25 May 2025 13:04:50 +0000 (15:04 +0200)]
[PATCH] Fix LDAP SASL auth support
961275fdb54878fdfa4ee1b9f1a4f00e82bf4a83 moved code without creating a
way to have HAVE_LDAP_SASL defined there.
Copy the preprocessor block from src/auth/db-ldap.c to fix this.
Gbp-Pq: Name bug1106784_Fix-LDAP-SASL-auth-support.patch
Noah Meyerhans [Wed, 18 Jun 2025 14:01:58 +0000 (10:01 -0400)]
Fix groff errors in upstream manpages
Forwarded: no
Last-Update: 2025-05-02
Last-Update: 2025-05-02
Gbp-Pq: Name fix-man-errors.patch
Dovecot Maintainers [Wed, 18 Jun 2025 14:01:58 +0000 (10:01 -0400)]
Fix GSSAPI regression
Origin: https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/message/O54EAGLIXXHMOH7BQCCKHHB3Z32HDWVR/
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1104549
Last-Update: 2025-05-02
Dovecot 2.4 introduced a regression that broke GSSAPI authentication for
some clients. This patch contains a fix provided by the upstream maintainers.
Last-Update: 2025-05-02
Gbp-Pq: Name bug1104549-gssapi-regression.patch
Dovecot Maintainers [Wed, 18 Jun 2025 14:01:58 +0000 (10:01 -0400)]
fit-32-bit-test-integers
===================================================================
Gbp-Pq: Name fit-32-bit-test-integers.patch
Christian Göttsche [Thu, 22 Dec 2022 16:00:53 +0000 (17:00 +0100)]
Use _FORTIFY_SOURCE level 3
Forwarded: not-needed
Gbp-Pq: Name Use-_FORTIFY_SOURCE-level-3.patch
Timo Sirainen [Mon, 26 May 2025 06:45:56 +0000 (09:45 +0300)]
[PATCH] lda: Default mail_home=$HOME environment if not using userdb lookup
The previous code to do this was removed by
e57d5b9002f910c095ee5b55821395fcf1da016a
Gbp-Pq: Name 0002-lda-Default-mail_home-HOME-environment-if-not-using-.patch
Timo Sirainen [Mon, 26 May 2025 06:37:35 +0000 (09:37 +0300)]
[PATCH] lda: Fix using USER environment if -d hasn't been specified
This became broken at some point.
Gbp-Pq: Name 0001-lda-Fix-using-USER-environment-if-d-hasn-t-been-spec.patch
Noah Meyerhans [Fri, 22 May 2020 04:48:59 +0000 (21:48 -0700)]
Don't try to build doc/rfc subdir components
Forwarded: not-needed
Forwarded: not-needed
Gbp-Pq: Name skip-rfc-subdir.patch
Noah Meyerhans [Wed, 18 Jun 2025 14:01:58 +0000 (10:01 -0400)]
dovecot (1:2.4.1+dfsg1-6) unstable; urgency=medium
* [
8c6ba88] Fix LDAP SASL auth support (Closes: #
1106784)
* [
fac9131] Avoid -fstack-clash-protection on hppa architecture
(Closes: #
1107609)
* [
071beb5] d/control: update Uploaders to reflect the current reality
[dgit import unpatched dovecot 1:2.4.1+dfsg1-6]
Noah Meyerhans [Wed, 18 Jun 2025 14:01:58 +0000 (10:01 -0400)]
Import dovecot_2.4.1+dfsg1-6.debian.tar.xz
[dgit import tarball dovecot 1:2.4.1+dfsg1-6 dovecot_2.4.1+dfsg1-6.debian.tar.xz]
Noah Meyerhans [Wed, 28 May 2025 19:45:52 +0000 (15:45 -0400)]
Merge dovecot (1:2.4.1+dfsg1-5) import into refs/heads/workingbranch
Noah Meyerhans [Wed, 28 May 2025 19:45:52 +0000 (15:45 -0400)]
Fix groff errors in upstream manpages
Forwarded: no
Last-Update: 2025-05-02
Last-Update: 2025-05-02
Gbp-Pq: Name fix-man-errors.patch
Dovecot Maintainers [Wed, 28 May 2025 19:45:52 +0000 (15:45 -0400)]
Fix GSSAPI regression
Origin: https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/message/O54EAGLIXXHMOH7BQCCKHHB3Z32HDWVR/
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1104549
Last-Update: 2025-05-02
Dovecot 2.4 introduced a regression that broke GSSAPI authentication for
some clients. This patch contains a fix provided by the upstream maintainers.
Last-Update: 2025-05-02
Gbp-Pq: Name bug1104549-gssapi-regression.patch
Dovecot Maintainers [Wed, 28 May 2025 19:45:52 +0000 (15:45 -0400)]
fit-32-bit-test-integers
===================================================================
Gbp-Pq: Name fit-32-bit-test-integers.patch
Christian Göttsche [Thu, 22 Dec 2022 16:00:53 +0000 (17:00 +0100)]
Use _FORTIFY_SOURCE level 3
Forwarded: not-needed
Gbp-Pq: Name Use-_FORTIFY_SOURCE-level-3.patch
Timo Sirainen [Mon, 26 May 2025 06:45:56 +0000 (09:45 +0300)]
[PATCH] lda: Default mail_home=$HOME environment if not using userdb lookup
The previous code to do this was removed by
e57d5b9002f910c095ee5b55821395fcf1da016a
Gbp-Pq: Name 0002-lda-Default-mail_home-HOME-environment-if-not-using-.patch
Timo Sirainen [Mon, 26 May 2025 06:37:35 +0000 (09:37 +0300)]
[PATCH] lda: Fix using USER environment if -d hasn't been specified
This became broken at some point.
Gbp-Pq: Name 0001-lda-Fix-using-USER-environment-if-d-hasn-t-been-spec.patch
Noah Meyerhans [Fri, 22 May 2020 04:48:59 +0000 (21:48 -0700)]
Don't try to build doc/rfc subdir components
Forwarded: not-needed
Forwarded: not-needed
Gbp-Pq: Name skip-rfc-subdir.patch
Noah Meyerhans [Wed, 28 May 2025 19:45:52 +0000 (15:45 -0400)]
dovecot (1:2.4.1+dfsg1-5) unstable; urgency=medium
* [
e6e5ef7] Fix typo in conf.d/auth-passwdfile.conf.ext (Closes: #
1106072)
* [
2a34ed0] Import upstream fix for dovecot-lda data loss (Closes: #
1106485)
* [
6c287ea] Fix typo in doveadm-fetch(1) (Closes: #
1106533)
* [
11f8b62] Fix invalid metadata in debian/patches/skip-rfc-subdir.patch
[dgit import unpatched dovecot 1:2.4.1+dfsg1-5]
Noah Meyerhans [Wed, 28 May 2025 19:45:52 +0000 (15:45 -0400)]
Import dovecot_2.4.1+dfsg1-5.debian.tar.xz
[dgit import tarball dovecot 1:2.4.1+dfsg1-5 dovecot_2.4.1+dfsg1-5.debian.tar.xz]
Raspbian automatic forward porter [Wed, 21 May 2025 14:01:29 +0000 (15:01 +0100)]
Merge version 1:2.3.21.1+dfsg1-1+rpi1 and 1:2.4.1+dfsg1-4 to produce 1:2.4.1+dfsg1-4+rpi1
Noah Meyerhans [Tue, 13 May 2025 00:36:26 +0000 (20:36 -0400)]
Merge dovecot (1:2.4.1+dfsg1-4) import into refs/heads/workingbranch
Noah Meyerhans [Tue, 13 May 2025 00:36:26 +0000 (20:36 -0400)]
Fix groff errors in upstream manpages
Forwarded: no
Last-Update: 2025-05-02
Last-Update: 2025-05-02
Gbp-Pq: Name fix-man-errors.patch
Dovecot Maintainers [Tue, 13 May 2025 00:36:26 +0000 (20:36 -0400)]
Fix GSSAPI regression
Origin: https://dovecot.org/mailman3/archives/list/dovecot@dovecot.org/message/O54EAGLIXXHMOH7BQCCKHHB3Z32HDWVR/
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1104549
Last-Update: 2025-05-02
Dovecot 2.4 introduced a regression that broke GSSAPI authentication for
some clients. This patch contains a fix provided by the upstream maintainers.
Last-Update: 2025-05-02
Gbp-Pq: Name bug1104549-gssapi-regression.patch
Dovecot Maintainers [Tue, 13 May 2025 00:36:26 +0000 (20:36 -0400)]
fit-32-bit-test-integers
===================================================================
Gbp-Pq: Name fit-32-bit-test-integers.patch
Christian Göttsche [Thu, 22 Dec 2022 16:00:53 +0000 (17:00 +0100)]
Use _FORTIFY_SOURCE level 3
Forwarded: not-needed
Gbp-Pq: Name Use-_FORTIFY_SOURCE-level-3.patch
Noah Meyerhans [Fri, 22 May 2020 04:48:59 +0000 (21:48 -0700)]
Don't try to build doc/rfc subdir components
Forwarded: no (Debian-specific)
Gbp-Pq: Name skip-rfc-subdir.patch
Noah Meyerhans [Tue, 13 May 2025 00:36:26 +0000 (20:36 -0400)]
dovecot (1:2.4.1+dfsg1-4) unstable; urgency=medium
* [
235de56] managesieved: lintian: suppress library-not-linked-against-libc
* [
74e7dcd] Ensure we use a 32-bit time_t on i386
* [
461bc68] dovecot-core: postinst: fix purge of obsolete ucf conf files
(Closes: #
1105003)
[dgit import unpatched dovecot 1:2.4.1+dfsg1-4]
Noah Meyerhans [Tue, 13 May 2025 00:36:26 +0000 (20:36 -0400)]
Import dovecot_2.4.1+dfsg1-4.debian.tar.xz
[dgit import tarball dovecot 1:2.4.1+dfsg1-4 dovecot_2.4.1+dfsg1-4.debian.tar.xz]
Noah Meyerhans [Sun, 30 Mar 2025 15:48:57 +0000 (11:48 -0400)]
Import dovecot_2.4.1+dfsg1.orig.tar.gz
[dgit import orig dovecot_2.4.1+dfsg1.orig.tar.gz]
Noah Meyerhans [Sun, 30 Mar 2025 15:48:57 +0000 (11:48 -0400)]
Import dovecot_2.4.1+dfsg1.orig-pigeonhole.tar.gz
[dgit import orig dovecot_2.4.1+dfsg1.orig-pigeonhole.tar.gz]
Raspbian automatic forward porter [Wed, 5 Feb 2025 19:06:17 +0000 (19:06 +0000)]
Merge version 1:2.3.21+dfsg1-3+rpi1 and 1:2.3.21.1+dfsg1-1 to produce 1:2.3.21.1+dfsg1-1+rpi1
Noah Meyerhans [Sat, 17 Aug 2024 17:26:24 +0000 (13:26 -0400)]
Merge dovecot (1:2.3.21.1+dfsg1-1) import into refs/heads/workingbranch
Christian Göttsche [Fri, 15 Sep 2023 12:08:56 +0000 (14:08 +0200)]
Silence prototype conflicts
Forwarded: https://github.com/dovecot/core/pull/206
program-client.c:705:5: warning: conflicting types for 'program_client_run' due to enum/integer mismatch; have 'int(struct program_client *)' [-Wenum-int-mismatch]
705 | int program_client_run(struct program_client *pclient)
| ^~~~~~~~~~~~~~~~~~
In file included from program-client-private.h:4,
from program-client.c:17:
program-client.h:93:1: note: previous declaration of 'program_client_run' with type 'enum program_client_exit_status(struct program_client *)'
93 | program_client_run(struct program_client *pclient);
| ^~~~~~~~~~~~~~~~~~
db-lua.c:599:1: warning: conflicting types for 'auth_lua_call_password_verify' due to enum/integer mismatch; have 'enum passdb_result(struct dlua_script *, struct auth_request *, const char *, const char **)' [-Wenum-int-mismatch]
599 | auth_lua_call_password_verify(struct dlua_script *script,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from db-lua.c:28:
db-lua.h:14:5: note: previous declaration of 'auth_lua_call_password_verify' with type 'int(struct dlua_script *, struct auth_request *, const char *, const char **)'
14 | int auth_lua_call_password_verify(struct dlua_script *script,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Gbp-Pq: Name Silence-prototype-conflicts.patch
Christian Göttsche [Mon, 14 Aug 2023 14:25:09 +0000 (16:25 +0200)]
Cleanup temporary build files
Forwarded: https://github.com/dovecot/core/pull/207
Support building twice:
dpkg-source: info: local changes detected, the modified files are:
source/src/plugins/quota/rquota.h.tmp
source/src/plugins/quota/rquota_xdr.c.tmp
Gbp-Pq: Name Cleanup-temporary-build-files.patch
Christian Göttsche [Thu, 22 Dec 2022 16:00:53 +0000 (17:00 +0100)]
Use _FORTIFY_SOURCE level 3
Forwarded: not-needed
Gbp-Pq: Name Use-_FORTIFY_SOURCE-level-3.patch
Christian Göttsche [Sat, 23 Jul 2022 14:38:23 +0000 (16:38 +0200)]
Fix uninitialized read in doveadm-oldstats
The third argument to doveadm_cmd_param_bool() is only set on a return
value of TRUE.
Since disk_input_field and disk_output_field should be set if the value
of show-disk-io is specified and specified to true, fix the condition.
doveadm-oldstats.c: In function 'cmd_stats_top':
doveadm-oldstats.c:551:63: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
551 | if (!doveadm_cmd_param_bool(cctx, "show-disk-io", &b) && b) {
| ^
doveadm-oldstats.c:545:14: note: 'b' was declared here
545 | bool b;
| ^
Gbp-Pq: Name Fix-uninitialized-read-in-doveadm-oldstats.patch
Timo Sirainen [Mon, 16 May 2022 12:58:45 +0000 (14:58 +0200)]
auth: Add a comment about updating userdb_find()
Gbp-Pq: Name auth-Add-a-comment-about-updating-userdb_find.patch
Timo Sirainen [Mon, 9 May 2022 12:23:33 +0000 (15:23 +0300)]
auth: Fix handling passdbs with identical driver/args but different mechanisms/username_filter
The passdb was wrongly deduplicated in this situation, causing wrong
mechanisms or username_filter setting to be used. This would be a rather
unlikely configuration though.
Fixed by moving mechanisms and username_filter from struct passdb_module
to struct auth_passdb, which is where they should have been in the first
place.
Gbp-Pq: Name auth-Fix-handling-passdbs-with-identical-driver-args-but-.patch
Christian Göttsche [Mon, 6 Jun 2022 13:29:38 +0000 (15:29 +0200)]
Avoid usage of PATH_MAX not available on hurd
Forwarded: https://github.com/dovecot/core/pull/208
Gbp-Pq: Name Avoid-usage-of-PATH_MAX-not-available-on-hurd.patch
Christian Göttsche [Mon, 6 Jun 2022 15:24:19 +0000 (17:24 +0200)]
Debug flaky unit test
See #
1007744
Gbp-Pq: Name Debug-flaky-unit-test.patch
Christian Göttsche [Wed, 11 May 2022 18:27:53 +0000 (20:27 +0200)]
Support openssl 3.0
Forwarded: not-needed
Gbp-Pq: Name Support-openssl-3.0.patch
Christian Göttsche [Tue, 7 Dec 2021 12:01:10 +0000 (13:01 +0100)]
md4/md5: disable optimization causing unaligned access
This restores unit tests with GCC 11 and LTO.
md5.c:92:23: warning: cast from 'const unsigned char *' to 'const uint32_t *' (aka 'const unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
STEP(F, a, b, c, d, SET(0), 0xd76aa478, 7)
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
md5.c:51:4: note: expanded from macro 'SET'
(*(const uint32_t *)&ptr[(n) * 4])
^
md5.c:37:29: note: expanded from macro 'STEP'
(a) += f((b), (c), (d)) + (x) + (t); \
^
md5.c:92:3: runtime error: load of misaligned address 0x61900000008b for type 'const uint32_t' (aka 'const unsigned int'), which requires 4 byte alignment
0x61900000008b: note: pointer points here
41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41
^
Gbp-Pq: Name md4-md5-disable-optimization-causing-unaligned-access.patch
Christian Göttsche [Mon, 21 Jun 2021 13:59:02 +0000 (15:59 +0200)]
Silence LTO related compiler warning
master-service-settings-cache.c: In function 'master_service_settings_cache_init_filter':
master-service-settings-cache.c:94:3: warning: 'error' may be used uninitialized in this function [-Wmaybe-uninitialized]
94 | i_error("master-service: cannot get filters: %s", error);
| ^
master-service-settings-cache.c:89:14: note: 'error' was declared here
89 | const char *error;
| ^
Gbp-Pq: Name Silence-LTO-related-compiler-warning.patch
Helmut Grohne [Tue, 5 Jan 2021 21:25:00 +0000 (22:25 +0100)]
Improve cross-compile support
The check for the signedness of size_t really doesn't have to be run as
that is a compile time property.
Beyond that, dovecot uses mysql_config. I've looked into that and
mysql_config is unfixably broken during cross builds. It will not be
fixed. Instead, please use pkg-config. My patch implements that with a
fallback to mysql_config to avoid breaking other users.
Last but not least, src/lib-lua/Makefile.am adds $(LUA_LIBS) to
libdovecot_lua_la_DEPENDENCIES. As it happens, LUA_LIBS contains a -L
flag and when that flag shows up in a dependency, make gives up. I have
no clue why one would add LUA_LIBS to DEPENDENCIES as it already is
being correctly added to LIBADD. My patch suggests to quite simply drop
that.
Gbp-Pq: Name Improve-cross-compile-support.patch
Christian Göttsche [Mon, 4 Jan 2021 15:06:43 +0000 (16:06 +0100)]
Fix 32bit sign comparisons
sieve-binary.c: In function 'sieve_binary_get_resource_usage':
sieve-binary.c:199:54: warning: comparison of integer expressions of different signedness: 'time_t' {aka 'long int'} and 'unsigned int' [-Wsign-compare]
199 | if (update_time != 0 && (ioloop_time - update_time) > timeout)
| ^
Gbp-Pq: Name Fix-32bit-sign-comparisons.patch
Christian Göttsche [Fri, 14 Aug 2020 10:50:51 +0000 (12:50 +0200)]
doveadm-director.1: drop acute accent
Found by Lintian:
This manual page uses the \' groff sequence. Usually, the intent to
generate an apostrophe, but that sequence actually renders as a an acute
accent.
For an apostrophe or a single closing quote, use plain '. For single
opening quote, i.e. a straight downward line ' like the one used in
shell commands, use \(aq.
Gbp-Pq: Name doveadm-director.1-drop-acute-accent.patch
Noah Meyerhans [Fri, 12 Jun 2020 23:51:06 +0000 (16:51 -0700)]
Updates the symbol to check for in the backtrace unit tests
Updates the symbol to check for in the backtrace unit tests to
something that appears in all the traces on the platforms we support.
Also dump the actual backtrace for debugging buildd failures.
Gbp-Pq: Name test-backtrace.patch
Christian Göttsche [Sat, 30 May 2020 22:55:07 +0000 (00:55 +0200)]
Correct misspellings
Found by Lintian
Gbp-Pq: Name Correct-misspellings.patch
Noah Meyerhans [Fri, 22 May 2020 04:48:59 +0000 (21:48 -0700)]
Don't try to build doc/rfc subdir components
Forwarded: no (Debian-specific)
Gbp-Pq: Name skip-rfc-subdir.patch
Apollon Oikonomopoulos [Fri, 23 Mar 2018 22:24:55 +0000 (00:24 +0200)]
Set DH params location
Forwarded: not-needed
This is mandatory for SSL support in 2.3
Gbp-Pq: Name ssl-dh-params-location.patch
Jaldhar H. Vyas [Sat, 7 Sep 2013 05:16:14 +0000 (01:16 -0400)]
Update Dovecot name to include Distribution in login greeting message
This patch was found at: https://blueprints.launchpad.net/ubuntu/+spec/servercloud-s-server-app-banner-updates
and originally provided by Ubuntu for their 2.1.7 package. The original
author is Yolanda Robla <yolanda.robla@canonical.com>. I updated it
for Debian's 2.2.5 package.
Last-Update: 2020-05-23
Gbp-Pq: Name dovecot_name.patch
Jaldhar H. Vyas [Fri, 23 Aug 2013 02:44:48 +0000 (22:44 -0400)]
policy 22.6 compliant mbox write locking
For NFS safety, prefer fcntl to dotlocks.
Dovecots default is the other way around.
Bug: #720502
Gbp-Pq: Name mboxlocking.patch
Jaldhar H. Vyas [Thu, 15 Sep 2011 22:55:02 +0000 (00:55 +0200)]
default location for user mailboxes
Bug: #623440
Last-Update: 2017-09-20
Set a default for the case where a user has no mail so auto-
detection of mailboxes doesn't work.
Gbp-Pq: Name default-mail_location.patch
Joerg Dorchain [Sun, 26 Aug 2012 08:10:28 +0000 (10:10 +0200)]
Add TCP wrapper support
Bug: #685850
Configuration file for TCP wrapper support.
Gbp-Pq: Name tcpwrapper.patch
Jaldhar H. Vyas [Tue, 25 Sep 2012 05:12:07 +0000 (01:12 -0400)]
SSL cert location
Last-Update: Sun, 30 Nov 2014 23:59:07 -0500
Bug: #608719
Move dovecots generated X.509 certificate out of /etc/ssl where
it doesn't belong.
Gbp-Pq: Name ssl-cert-location.patch
Marco Nenciarini [Thu, 15 Sep 2011 22:55:02 +0000 (00:55 +0200)]
fix mail_plugin_dir default
Bug: #624294
Fix mail_plugin_dir default value in conf.d/10-mail.conf
Gbp-Pq: Name fix-mail_plugin_dir-default.patch
Marco Nenciarini [Sat, 5 Mar 2011 10:19:07 +0000 (11:19 +0100)]
split-protocols
Updated: Mon, 25 Nov 2013 20:11:59 -0500
Forwarded: no (Debian-specific)
Set default protocols value as empty and enable each
protocol in its own configuration file
Gbp-Pq: Name split-protocols.patch
Noah Meyerhans [Sat, 17 Aug 2024 17:26:24 +0000 (13:26 -0400)]
dovecot (1:2.3.21.1+dfsg1-1) unstable; urgency=medium
[ Noah Meyerhans ]
* [
452a10b] Move systemd unit files to /usr (Closes: #
1071915)
[ Niels Thykier ]
* [
a9caf51] Avoid unnecessary implicit requirement for `(fake)root`
[ Christian Göttsche ]
* [
8c253d1] salsa-ci: enable build_twice job
* [
47122cd] Bump to standards version 4.7.0 (no further changes)
* [
4062094] Replace obsolete build-dependency pkg-config with pkgconf
* [
f1221b8] Split overlong line in changelog
* [
dd876aa] Annotate Debian patches
* [
590287e] Fix typos in changelog
[ Noah Meyerhans ]
* [
a212eb8] New upstream version 2.3.21.1+dfsg1
- Fix CVE-2024-23185 (Closes: #
1078877)
- Fix CVE-2024-23185 (Closes: #
1078877)
[dgit import unpatched dovecot 1:2.3.21.1+dfsg1-1]
Noah Meyerhans [Sat, 17 Aug 2024 17:26:24 +0000 (13:26 -0400)]
Import dovecot_2.3.21.1+dfsg1.orig.tar.gz
[dgit import orig dovecot_2.3.21.1+dfsg1.orig.tar.gz]
Noah Meyerhans [Sat, 17 Aug 2024 17:26:24 +0000 (13:26 -0400)]
Import dovecot_2.3.21.1+dfsg1.orig-pigeonhole.tar.gz
[dgit import orig dovecot_2.3.21.1+dfsg1.orig-pigeonhole.tar.gz]
Noah Meyerhans [Sat, 17 Aug 2024 17:26:24 +0000 (13:26 -0400)]
Import dovecot_2.3.21.1+dfsg1-1.debian.tar.xz
[dgit import tarball dovecot 1:2.3.21.1+dfsg1-1 dovecot_2.3.21.1+dfsg1-1.debian.tar.xz]
Peter Michael Green [Thu, 20 Jun 2024 17:16:27 +0000 (17:16 +0000)]
Merge dovecot (1:2.3.21+dfsg1-3+rpi1) import into refs/heads/workingbranch
Christian Göttsche [Fri, 15 Sep 2023 12:08:56 +0000 (14:08 +0200)]
Silence prototype conflicts
Forwarded: https://github.com/dovecot/core/pull/206
program-client.c:705:5: warning: conflicting types for 'program_client_run' due to enum/integer mismatch; have 'int(struct program_client *)' [-Wenum-int-mismatch]
705 | int program_client_run(struct program_client *pclient)
| ^~~~~~~~~~~~~~~~~~
In file included from program-client-private.h:4,
from program-client.c:17:
program-client.h:93:1: note: previous declaration of 'program_client_run' with type 'enum program_client_exit_status(struct program_client *)'
93 | program_client_run(struct program_client *pclient);
| ^~~~~~~~~~~~~~~~~~
db-lua.c:599:1: warning: conflicting types for 'auth_lua_call_password_verify' due to enum/integer mismatch; have 'enum passdb_result(struct dlua_script *, struct auth_request *, const char *, const char **)' [-Wenum-int-mismatch]
599 | auth_lua_call_password_verify(struct dlua_script *script,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from db-lua.c:28:
db-lua.h:14:5: note: previous declaration of 'auth_lua_call_password_verify' with type 'int(struct dlua_script *, struct auth_request *, const char *, const char **)'
14 | int auth_lua_call_password_verify(struct dlua_script *script,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Gbp-Pq: Name Silence-prototype-conflicts.patch
Christian Göttsche [Mon, 14 Aug 2023 14:25:09 +0000 (16:25 +0200)]
Cleanup temporary build files
Forwarded: https://github.com/dovecot/core/pull/207
Support building twice:
dpkg-source: info: local changes detected, the modified files are:
source/src/plugins/quota/rquota.h.tmp
source/src/plugins/quota/rquota_xdr.c.tmp
Gbp-Pq: Name Cleanup-temporary-build-files.patch
Christian Göttsche [Thu, 22 Dec 2022 16:00:53 +0000 (17:00 +0100)]
Use _FORTIFY_SOURCE level 3
Gbp-Pq: Name Use-_FORTIFY_SOURCE-level-3.patch
Christian Göttsche [Sat, 23 Jul 2022 14:38:23 +0000 (16:38 +0200)]
Fix uninitialized read in doveadm-oldstats
The third argument to doveadm_cmd_param_bool() is only set on a return
value of TRUE.
Since disk_input_field and disk_output_field should be set if the value
of show-disk-io is specified and specified to true, fix the condition.
doveadm-oldstats.c: In function 'cmd_stats_top':
doveadm-oldstats.c:551:63: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
551 | if (!doveadm_cmd_param_bool(cctx, "show-disk-io", &b) && b) {
| ^
doveadm-oldstats.c:545:14: note: 'b' was declared here
545 | bool b;
| ^
Gbp-Pq: Name Fix-uninitialized-read-in-doveadm-oldstats.patch
Timo Sirainen [Mon, 16 May 2022 12:58:45 +0000 (14:58 +0200)]
auth: Add a comment about updating userdb_find()
Gbp-Pq: Name auth-Add-a-comment-about-updating-userdb_find.patch
Timo Sirainen [Mon, 9 May 2022 12:23:33 +0000 (15:23 +0300)]
auth: Fix handling passdbs with identical driver/args but different mechanisms/username_filter
The passdb was wrongly deduplicated in this situation, causing wrong
mechanisms or username_filter setting to be used. This would be a rather
unlikely configuration though.
Fixed by moving mechanisms and username_filter from struct passdb_module
to struct auth_passdb, which is where they should have been in the first
place.
Gbp-Pq: Name auth-Fix-handling-passdbs-with-identical-driver-args-but-.patch